class SingleLazy{
    private static volatile SingleLazy instance = null;
    private SingleLazy (){};
    public static SingleLazy getInstance(){
        if(instance == null){
            synchronized (SingleLazy.class){
                if(instance == null){
                    instance = new SingleLazy();
                }
            }
        }
        return instance;
    }
}
public class Test3 {
}
